package codeComposition;

public class ExpressionElement extends Element {
	int tabNum;
	protected String tabStr;
	
	public ExpressionElement(){
		tabStr = "";
	}
	public ExpressionElement(int tabNum){
		this.tabNum = tabNum;
		tabStr = "";
		for(int i=0;i<tabNum;i++){
			tabStr += "\t";
		}
	}
	protected void setTabNum(int tabNum){
		this.tabNum = tabNum;
		tabStr = "";
		for(int i=0;i<tabNum;i++){
			tabStr += "\t";
		}
	}
	@Override
	public String toString() {
		// TODO Auto-generated method stub
		return "super's toString()";
	}
	
	public String getRawString(){
		String temp = tabStr;
		tabStr = "";
		return toString().trim();
	}

}
